import React from 'react'
import ReactDOM from 'react-dom'
import Header from "../Header"
import ContentNavi from "../ContentNavi"
import AssetSettingEditorBody from "./AssetSettingEditorBody"

class AssetSettingEditor extends React.Component{

  constructor(props) {
    super(props)
  }

  handleSubmit() {
    console.log("submit")
  }

  render() {
    return(
      <div className="main-panel" >
        <div className="content" >
          <ContentNavi title="素材管理/编辑图文消息" />
          <AssetSettingEditorBody
            handleSubmit={this.handleSubmit}
            title="测试标题"/>
        </div>
        <Header username={this.props.username} avatar={this.props.avatar} />
      </div>
    )
  }
}

module.exports = AssetSettingEditor;
